Location:
Search - delphi spcomm
Search list
Description: 串口调试助手,是一个使用SPcomm控件编写的程序-serial debugging assistant, is the use of a prepared SPcomm control procedures
Platform: |
Size: 269312 |
Author: whj |
Hits:
Description: 一个串口通信的软件,需要spcomm组件,请注意-a serial communication software, the need spcomm components, please note
Platform: |
Size: 388096 |
Author: 吴科伟 |
Hits:
Description: 2005-7-13 10:03
前几天要做一个短信收发的小软件,于是按照习惯Box寻找例程和控件,可惜没有找到!
于是,大幅翁、Google!!!终于找到了好几个,不是要收费就是不能用!气愤!!
这又不是什么高新尖端科技,俺们不是做不出来,俺们只是秉承RAD的精神而已!
于是这个短消息控件诞生了!虽然还很简陋,起码胳膊腿都有了,剩下就看它怎么跑了!
使用标准AT指令
现在只能支持PDU模式(Text模式太简陋)!
支持7_Bit 和 UCS2 编码
集成了串口(spcomm)
只需要简单的配置几个参数就可以收发短信了-2005-7-13 10:03 A few days ago to be a small message to send and receive software, then in accordance with the customary Box search routines and controls, but did not find! Thus, a substantial Weng, Google!!! Finally found a few, not a fee is not! Angry! ! This is not a high-tech state of the art technology, not俺们not able to,俺们only uphold the spirit of just RAD! So the short message control was born! Although very simple, at least arm leg with the rest look on how it ran! Using standard AT commands can now only support PDU mode (Text model is too simple)! Support the UCS2 coding 7_Bit and integrated serial port (spcomm) only need a few simple parameters can be configured to send and receive a message
Platform: |
Size: 306176 |
Author: |
Hits:
Description: 如何使用spcomm控件读写串口数据-Delphi知识大全-How to use SPComm controls read and write serial data-Delphi knowledge Guinness
Platform: |
Size: 105472 |
Author: 石头 |
Hits:
Description: GPS串口自适应解码Delphi源程序(SPCOMM控件)
-GPS serial adaptive decoding Delphi source code (SPCOMM control)
Platform: |
Size: 3072 |
Author: 李群燕 |
Hits:
Description: BCB 串口通信,使用spcomm 控件,修改自串口调试助手Delphi版-BCB serial communication, use SPComm control, modified from the serial debug version assistant Delphi
Platform: |
Size: 22528 |
Author: hiifii |
Hits:
Description: 用bcb6.0修改了原来用delphi编的spcomm,可以用BCB6.0上的串口通讯软件-Used to amend the original bcb6.0 with delphi series spcomm, can be used BCB6.0 on the serial communication software
Platform: |
Size: 74752 |
Author: zz |
Hits:
Description: unit comm
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
SPComm, StdCtrls, ExtCtrls
type
TFcomm = class(TForm)
Comm1: TComm
GroupBox1: TGroupBox
Memo1: TMemo
Memo2: TMemo
GroupBox2: TGroupBox
Button1: TButton
Btn_send: TButton
Button2: TButton
procedure Button1Click(Sender: TObject)
procedure Button2Click(Sender: TObject)
procedure Btn_sendClick(Sender: TObject)
procedure Comm1ReceiveData(Sender: TObject Buffer: Pointer
BufferLength: Word)
private
{ Private declarations }
public
{ Public declarations }
end
Platform: |
Size: 152576 |
Author: liu |
Hits:
Description: PCOMM串口开发包,版本比较新,2.5。带有Example,适用于vc++,delphi,vb。-PComm Serial Development Kit, a relatively new version, 2.5. With Example, apply to vc++, Delphi, vb.
Platform: |
Size: 1044480 |
Author: Syber |
Hits:
Description: SPCOMM通讯测试,双串口同时与单片机系统通讯-SPComm communications test, dual serial communication with the single-chip microcomputer system
Platform: |
Size: 207872 |
Author: fxs |
Hits:
Description: 其中包含XPMenu控件和SPComm控件,其中SPComm控件为本人根据自己需要修改过的-XPMenu which contains controls and SPComm control, which controls SPComm for my needs according to their revised
Platform: |
Size: 760832 |
Author: 宋顶 |
Hits:
Description: 别人写的一个串口通讯控件,经过长期使用证明,很好用的。参考了Comm32,及spcomm等。主要是修正了Comm32中的.pas-Others to write a serial communication control, after a long-term use of proven, well used. Reference Comm32, and SPComm such. Mainly in the Comm32 amended. Pas
Platform: |
Size: 4096 |
Author: nc |
Hits:
Description: 多线程,多接收模式串口类 LsComm 之二相关文档
多线程,多接收模式串口类LsComm 作者:Liu_sir
所以参照Delphi中的SpComm设计了一个类CComPort,对CSerialPort进行了2次封装,主要目的是简化串口的使用.使其用简单的代码就可以完成串口通讯的过程.并提供了一个Demo程序演示了CComPort的使用
多线程,多接收模式串口类 LsComm 之二 作者:liu_sir
实现了一个简洁易用的多线程串行通讯接口,可以切换查询和自动接收模式,进行对串口数据收发-Multi-threaded, multi-category serial receive mode LsComm documentation bis multi-threaded, multi-category serial receive mode LsComm Author: Liu_sir Therefore, in light of Delphi SPComm designed a category CComPort, on a 2 times CSerialPort package The main purpose is to simplify the use of serial port. its simple code to complete the process of serial communication. and provided a Demo program CComPort demonstrated the use of multi-threaded, multi-mode receiver serial-type bis LsComm Author: liu_sir implements a simple-to-use multi-threaded serial communication interface, you can switch query and automatically receive mode and proceed to the serial data transceiver
Platform: |
Size: 89088 |
Author: liaotao |
Hits:
Description: 串口编写程序
VC6请使用 LsCommDemo(for vc6).zip
VC7请使用 LsCommDemo(for vc7).zip
作者:Liu_sir
VC知识库
http://www.VCKBASE.com
多线程,多接收模式串口类LsComm相关文档
多线程,多接收模式串口类LsComm 作者:Liu_sir
所以参照Delphi中的SpComm设计了一个类CComPort,对CSerialPort进行了2次封装,主要目的是简化串口的使用.使其用简单的代码就可以完成串口通讯的过程.并提供了一个Demo程序演示了CComPort的使用
多线程,多接收模式串口类 LsComm 之二 作者:liu_sir
实现了一个简洁易用的多线程串行通讯接口,可以切换查询和自动接收模式,进行对串口数据收发-Serial programming VC6 use LsCommDemo (for vc6). ZipVC7 use LsCommDemo (for vc7). Zip Author: Liu_sirVC Knowledge http://www.VCKBASE.com multi-threaded, multi-mode serial port to receive the relevant document category LsComm multi-threaded, multi-category serial receive mode LsComm Author: Liu_sir Therefore, in light of Delphi SPComm designed a category CComPort, on CSerialPort a 2 package, the main purpose is to simplify the use of serial port. it simple code to complete the process of serial communication. and provided a Demo program CComPort demonstrated the use of multi-threaded, multi-mode receiver serial-type bis LsComm Author: liu_sir implements a simple-to-use multi-threaded serial communication interface , you can switch query and automatically receive mode and proceed to the serial data transceiver
Platform: |
Size: 81920 |
Author: liaotao |
Hits:
Description: delphi编程指南,帮你更快的入门学习-delphi programming guide, to help you learn faster entry
Platform: |
Size: 118784 |
Author: llz520406 |
Hits:
Description:
procedure senddata
var
i:integer commflg : Boolean
begin
commflg:=true
for i:=1 to 8 do
begin
if not fcomm comml writecommdata(sendbutter,i) then
begin
Commflg=false
break
end
end
end
(4) 接收数据
在编写基于串口的计算机工业测控时,通常需要由下位机向PC机发送数据以使PC机了解系统的测试数据或下位机的运行状态,并进而控制下位机的行为。利用Spcomm串口控件接收下位机发送的数据信息的示例代码如下:
//事件驱动方式接收数据程序
procedure TForm1.CommlReceiveData(Sender:Tobject Buffer:Pointer bufferLength:Word)
var
receivedata:array of byte
begin
sleep(100) //等待100ms,保证接收到所有数据
move(buffef ,receivedata,bufferlength)
//将接收缓存区中的数据转移到数组中
……
end
(5) 关闭串口
在系统开发中,应注意在不使用串口时应及时关闭串口,释放系统资源,否则可能会影响系统的其它应用。关闭串口的代码如下:
procedure TForm1.FormClose ( Sender TObj ect:var Action:TCIoseAction )
begin
comml.StopComm
end -
procedure senddata
var
i:integer commflg : Boolean
begin
commflg:=true
for i:=1 to 8 do
begin
if not fcomm comml writecommdata(sendbutter,i) then
begin
Commflg=false
break
end
end
end
(4) 接收数据
在编写基于串口的计算机工业测控时,通常需要由下位机向PC机发送数据以使PC机了解系统的测试数据或下位机的运行状态,并进而控制下位机的行为。利用Spcomm串口控件接收下位机发送的数据信息的示例代码如下:
//事件驱动方式接收数据程序
procedure TForm1.CommlReceiveData(Sender:Tobject Buffer:Pointer bufferLength:Word)
var
receivedata:array of byte
begin
sleep(100) //等待100ms,保证接收到所有数据
move(buffef ,receivedata,bufferlength)
//将接收缓存区中的数据转移到数组中
……
end
(5) 关闭串口
在系统开发中,应注意在不使用串口时应及时关闭串口,释放系统资源,否则可能会影响系统的其它应用。关闭串口的代码如下:
procedure TForm1.FormClose ( Sender TObj ect:var Action:TCIoseAction )
begin
comml.StopComm
end
Platform: |
Size: 1611776 |
Author: yingyu |
Hits:
Description: 串口控件,通COM口监控数据数据,实可控外设或下载数据-Serial port control, customs monitoring data COM port, it is controllable peripheral or download data
Platform: |
Size: 13312 |
Author: 司徒江洪 |
Hits:
Description: 通过串口通讯的源程序,主要是用delphi写的,用了spcomm控件-The source code through the serial communication is mainly written using delphi, using a control spcomm
Platform: |
Size: 284672 |
Author: test |
Hits:
Description: dephi的串口通信例程 用到了SPComm控件-dephi of the serial communication routines used in the control of the SPComm
Platform: |
Size: 233472 |
Author: 蒋路茸 |
Hits:
Description: Spcomm控件,可用于Delphi程序中的通讯功能-spcomm
Platform: |
Size: 24576 |
Author: lizhijun |
Hits: